document.getElementById('searchForm').addEventListener('submit', function(event) {
    const searchInput = document.getElementById('searchInput');
    

    if (!searchInput.value.trim()) {
        event.preventDefault();
        window.location.href = '../search/search.html';
    }
});